package ud12.observer;

public class AlumnoIngles implements IAlumno {
	private String name;
	private Profesor teacher;
	
	public void sayName() {
		System.out.println("Hello, I'm "+name);
	}
	
	public AlumnoIngles (String name, Profesor teacher) {
		this.name = name;
		this.teacher = teacher;
	}
	public void nombrate() {
		sayName();
	}
}
